package book;

import function.Return;

public class BookList{
    public Book[] books;

    public BookList() {
        books = new Book[10];
        this.books[0] = new Book("水浒传",1.0,true);
        this.books[1] = new Book("红楼梦",2.0,false);
        this.books[2] = new Book("三国演义",3.0,false);
    }
    public Book getBook(int pos) {
        return books[pos];
    }
    public int num = 3;
}
